package com.zhuangjie.shop.vo;

import com.zhuangjie.shop.dto.CartItemDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 购物车项目详细信息(用于确认页，购物车展示)
 *
 * @author zhuangjie
 * @date 2023/11/20
 */
@Data
public class CartItemVO extends CartItemDTO {

    @ApiModelProperty(value = "菜品分类id")
    private Long dishCategoryId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品样品图片")
    private String image;

    @ApiModelProperty(value = "标签项(多个标签用逗号隔开)")
    private String labels;

    @ApiModelProperty(value = "商品原价")
    private BigDecimal oldPrice;

    @ApiModelProperty(value = "商品现价")
    private BigDecimal nowPrice;

    @ApiModelProperty(value = "菜品增值")
    private BigDecimal appreciation;

    @ApiModelProperty(value = "规格单价（现价+增值）")
    private BigDecimal specPrice;


}
